/**
 * @description 定义axios配置信息
 * @author 盘古他爹
 */

//开发环境 development
//生产环境 production
//测试环境 test
let BASE_URL = "http://127.0.0.1:9999/api/"
const TIME_OUT = 10000

if (process.env.NODE_ENV === "development") {
  BASE_URL = "http://127.0.0.1:9999/api/"
} else if (process.env.NODE_ENV === "production") {
  BASE_URL = "http://127.0.0.1:9999/api/"
} else {
  BASE_URL = "http://127.0.0.1:9999/api/"
}

export { BASE_URL, TIME_OUT }

// const BASE_URL = "http://lanshi.org"
// const BASE_NAME = "coderwhy"

// const BASE_URL = "http://lanshi.org"
// const BASE_NAME = "coderwhy"
